broadway: fix documentation
authorMohammed Sadik <sadiq@sadiqpk.org>
Sun, 10 Apr 2016 06:19:20 +0000 (11:49 +0530)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 11 Apr 2016 11:34:34 +0000 (07:34 -0400)
broadway backend has 0 as the default display port,
which maps to tcp port 8080.

https://bugzilla.gnome.org/show_bug.cgi?id=764835

docs/reference/gtk/broadway.xml
docs/reference/gtk/broadwayd.xml

index 80bafbe318ceb18406023592c14903e3e81d6882..69d4ac95c460632e6fca28af05b79a2675095fcf 100644 (file)
@@ -43,10 +43,10 @@ To use broadwayd, start it like this:
 <programlisting>
 broadwayd :5
 </programlisting>
-Then point your web browser at <literal>http://127.0.0.1:8084</literal>.
+Then point your web browser at <literal>http://127.0.0.1:8085</literal>.
 Start your applications like this:
 <programlisting>
-BROADWAY_DISPLAY=:5 gtk3-demo
+GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk3-demo
 </programlisting>
 </para>
 
@@ -58,11 +58,11 @@ BROADWAY_DISPLAY=:5 gtk3-demo
     <title><envar>BROADWAY_DISPLAY</envar></title>
 
     <para>
-      Specifies the Broadway display number. The default display is 1.
+      Specifies the Broadway display number. The default display is 0.
       The display number determines the port to use when connecting
       to a Broadway application via the following formula:
       <programlisting>
-        <replaceable>port</replaceable> = 8080 + (<replaceable>display</replaceable> - 1)
+        <replaceable>port</replaceable> = 8080 + <replaceable>display</replaceable>
       </programlisting>
     </para>
   </formalpara>
index 207b6c9f2f94d3f33d1edfebdfd7b153c17d779e..e8fad822aaea2a536cee74d2f2947cfc5e3a69fe 100644 (file)
@@ -45,14 +45,14 @@ windows in the same web browser, by connecting to broadwayd.
 </para>
 <para>
 When using broadwayd, specify the display number to use, prefixed
-with a colon, similar to X. The default display number is 1.
+with a colon, similar to X. The default display number is 0.
 <programlisting>
 broadwayd :5
 </programlisting>
-Then point your web browser at <literal>http://127.0.0.1:8084</literal>.
+Then point your web browser at <literal>http://127.0.0.1:8085</literal>.
 Start your applications like this:
 <programlisting>
-BROADWAY_DISPLAY=:5 gtk3-demo
+GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk3-demo
 </programlisting>
 
 You can add password protection for your session by creating a file in